<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>展示列表</title>
</head>
<body>
<h1>展示列表</h1>
<a href="/add/">添加</a>
<table border="1" align="center" cellspacing="0">
    <tr align="center">
        <th>学号</th>
        <th>姓名</th>
        <th colspan="2">操作</th>
    </tr>
    {% for i in list %}
    <tr align="center">
        <td>{{ i.1 }}</td>
        <td>{{ i.2 }}</td>
        <td><a href="/pop/{{ i.0 }}">删除</a></td>
        <td><a href="/fix/{{ i.0 }}">修改</a></td>
{#        <td><a href="{% url 'fix' i.0  %}">修改</a></td>#}
    </tr>
    {% endfor %}
</table>
</body>
</html>